<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        //打印人的一生，从1岁到100岁
        var age = 1;
        do {
            console.log('您已经' + age + '岁啦~');
            age++;
        } while (age <= 100)
    </script>
</head>

<body>

</body>

</html>